package com.hxw.schema.factory.simpleFactory;

import com.hxw.schema.factory.Operation;

/**
 * Created by Think on 2018/5/4.
 */
public class SubOperator extends Operation {
    @Override
    public double getResult(){
        return getA()-getB();
    }
}
